package com.itheima;

import java.util.ArrayList;

/**
 * @auther Macrydy
 * @date 2020/6/28 10:39
 */
public class Test1 {
    public static void main(String[] args) {
        String[] str = new String[2];
        str[0]="张三";
        str[1]="李四";
        ArrayList<Object> list = new ArrayList<>();
        String[] strings = list.toArray(str);
    }
}
